{% extends "base.html" %}
{% block content %}


<form action="" method="post" name="view_demand" enctype="multipart/form-data">
    {{form.hidden_tag()}}

    <div class="row">
        <div class="col-lg-5 col-xs-10">
            {{ render_field(form.title)}}
        </div>
        <div class="col-lg-5 col-xs-10">
            {{ render_field(form.contacts, size=8)}}
        </div>
         <div class="col-lg-5 col-xs-10">
            {{ render_field(form.phone_number, size=15)}}
        </div>
        <div class="col-lg-5 col-xs-10">
            {{ render_field(form.mode_id)}}
        </div>
        <div class="col-lg-5 col-xs-10">
            {{ render_field(form.area_id)}}
        </div>
        <div class="col-lg-5 col-xs-10" id="price_low">
            {{ render_field(form.price_low, size = 8)}}
            <div class="ui basic label">元/月</div>
        </div>
        <div class="col-lg-5 col-xs-10" id="price_high">
            {{ render_field(form.price_high, size = 8)}}
            <div class="ui basic label">元/月</div>
        </div>
        <div class="col-lg-5 col-xs-10">
            {{ render_field(form.decorate_type)}}
        </div>
        <div class="col-lg-5 col-xs-10">
            {{ render_field(form.subway_line)}}
        </div>
         <div class="col-lg-5 col-xs-10">
            {{ render_field(form.description, rows="10", cols="100")}}
        </div>

    </div>

    <p><input type="submit" value="确定" name="confirm"></p>
</form>
{% endblock %}
